package com.baosight.risk.mapper.rifi;

import com.baosight.risk.base.mapper.BaseMapper;
import com.baosight.risk.service.rifi.entity.RifiRiskFinish;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RifiRiskFinishMapper extends BaseMapper<RifiRiskFinish> {

    /**
     * @param id
     * @return 根据重点风险查询结题信息
     */
    RifiRiskFinish selectByImportGuid(@Param("importGuid") String id);


    List<RifiRiskFinish> selectList(@Param("finish") RifiRiskFinish riskFinish);

    RifiRiskFinish selectLastedOne(@Param("finish") RifiRiskFinish finish);


}